package one.stand.fallback;

import com.jmp.base.dto.*;
import com.jmp.feign.SeeRecordFeign;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

/**
 * @author cjr
 */
@Component
public class SeeRecordFallback implements SeeRecordFeign {

    @Override
    public ResultModel card(SeeRecordCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel goodsList(SeeRecordGoodsListRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel goods(SeeRecordGoodsRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel goodsJxs(SeeRecordGoodsRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel goodsCount(SeeRecordGoodsCountRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel article(SeeRecordArticleRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel website(SeeRecordWebsiteRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel lead(SeeRecordLeadRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel remove(SeeRecordRemoveDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel hide(SeeRecordHideDto request) {
        return ResultModel.faultTolerant();
    }
}
